DataGrid
Main DataGrid component. Requires cells as a children.
<DataGrid
entities="Article"
itemsPerPage={50}
>
<TextCell header="Title" field="title" />
<TextCell header="Author" field="author.name" />
</DataGrid>
DataGridProps
DataGridProps
Intersection of
DataGridContainerPublicProps
DataGridContainerPublicProps
allowAggregateFilterControls
boolean
allowColumnVisibilityControls
boolean
emptyMessage
React.ReactNode
emptyMessageComponent
React.ComponentType<any>
emptyMessageComponentExtraProps
onEntityClick
(entity: EntityAccessor) => void
selectedEntityIds
EntityId[]
tile
React.ReactNode
tileSize
number
DataGridProps
children*
React.ReactNode
dataGridKey
string
entities*
SugaredQualifiedEntityList["entities"]
itemsPerPage
| number| null
Union of
DataGridProps
component*
React.ComponentType<& DataGridContainerProps& ComponentExtraProps>
componentProps*
ComponentExtraProps